package org.qiuqiu.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.qiuqiu.vo.Role;
import org.qiuqiu.vo.RoleExample;

public interface RoleMapper extends BaseDao{

	int countByExample(RoleExample example);

	int deleteByExample(RoleExample example);

	int deleteByPrimaryKey(Integer roleid);

	int insert(Role record);

	int insertSelective(Role record);

	List<Role> selectByExample(RoleExample example);

	Role selectByPrimaryKey(Integer roleid);

	int updateByExampleSelective(@Param("record") Role record,
			@Param("example") RoleExample example);

	int updateByExample(@Param("record") Role record,
			@Param("example") RoleExample example);

	int updateByPrimaryKeySelective(Role record);

	int updateByPrimaryKey(Role record);
}